<template>
  <a-menu v-model:selectedKeys="menuCurrent" mode="horizontal">
    <a-menu-item key="home">
      <router-link to="/home">首页</router-link>
    </a-menu-item>
    <a-menu-item key="signup">
      <router-link to="/signup">我的报名</router-link>
    </a-menu-item>
    <a-menu-item key="user">
      <router-link to="/user">我的信息</router-link>
    </a-menu-item>
  </a-menu>
</template>

<script>
import { ref } from "@vue/reactivity";
export default {
  setup() {
    const menuCurrent = ref(["home"]);
    return {
      menuCurrent,
    };
  },
};
</script>

<style>
</style>